package com.nsl.my_youlai.bbu2.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

import com.nsl.my_youlai.mystar.enums.EnumTypeEnum;
import com.nsl.my_youlai.mystar.enums.NslEnumBaseI;

public enum ApparatusRoomCategoryEnum implements NslEnumBaseI<Integer> {

    CORE_MACHINE_ROOM(1,"核心局站"),
    AGGREGATION_MACHINE_ROOM(2,"汇聚局站"),
//    INTEGRATED_SERVICE_ACCESS_POINT(3,"综合业务接入点"),
//    BBU_CENTRALIZED_PLACEMENT_MACHINE_ROOM(4,"BBU集中放置机房"),
    COMMUNICATION_STATION_MACHINE_ROOM(5,"基站机房"),
    ACCESS_MACHINE_ROOM(6,"接入机房");



    @EnumValue//标记数据库记录的值是code
    private Integer value;

    private String label;



    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }

    @Override
    public EnumTypeEnum getEnumType() {
        return EnumTypeEnum.BBU_APPARATUS_ROOM_CATEGORY_TYPE_ENUM;
    }


    @Override
    public String getCnName() {
        return "机房归类";
    }

    ApparatusRoomCategoryEnum(Integer value, String label){
        this.value=value;
        this.label=label;
    }
}
